<extend name="Public:base" />
<block name="css">
    <link href="__CSS__/plugins/select2/select2.css" rel="stylesheet"/>
    <link href="__CSS__/plugins/waitMe/waitMe.min.css" rel="stylesheet">
    <link href="__CSS__/plugins/toastr/toastr.min.css" rel="stylesheet"/>
</block>
<block name="js">
    <script src='__JS__/plugins/select2/select2.js'></script>
</block>
<block name="content">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <form method="post" class="p-sm form-horizontal"  action="{:U('Options/save')}" id="form">
                <div class="form-group">
                    <label class="col-sm-2 control-label">站点标题</label>
                    <div class="col-sm-10  div-container">
                        <input type="text" class="form-control col-lg-6" value="{$site_title}" name="site_title" id="site_title"/>
                        <span>这将是它在站点上显示的名字。</span>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">网站副标题</label>
                    <div class="col-sm-10  div-container">
                        <div><input type="text" class="form-control" name="site_sub_title" value="{$site_sub_title}" id="site_sub_title"/></div>
                        <span>用简洁的文字描述本站点。</span>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">站点关键词</label>
                    <div class="col-sm-10  div-container">
                        <input type="text" class="form-control" name="site_keywords" value="{$site_keywords}" id="site_keywords" />
                        <span>用于seo,站点优化</span>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group div-container">
                    <label class="col-sm-2 control-label ">站点描述</label>
                    <div class="col-sm-10  div-container">
                        <textarea name="site_description" id="site_description" value="{$site_description}" class="form-control" >{$site_description}</textarea>
                        <span>站点描述</span>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group div-container">
                    <label class="col-sm-2 control-label ">是否开放注册</label>
                    <div class="col-sm-10  div-container">
                        <div class="btn-group" data-toggle="buttons" style="display: block;">
                            <label class="btn btn-white <eq name='is_register_open' value='1'>active</eq>">
                                <input type="radio" name="is_register_open" value='1' <eq name='is_register_open' value='1'>checked</eq>   autocomplete="off" checked><span class='fa icon-check'></span>开放
                            </label>
                            <label class="btn btn-white <eq name='is_register_open' value='0'>active</eq>">
                                <input type="radio" name="is_register_open" value='0' <eq name='is_register_open' value='0'>checked</eq> autocomplete="off"><span class='fa icon-times'></span>不开放
                            </label>
                        </div>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group div-container">
                    <label class="col-sm-2 control-label ">版权说明</label>
                    <div class="col-sm-10  div-container">
                        <div><textarea name="copyright" id="copyright" class="form-control" >{$copyright}</textarea></div>
                        <span>可以填入网站统计、备案号等内容。</span>
                        <div class="Validform_checktip text-danger"></div>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                    <div class="col-sm-2 col-sm-offset-2">
                        <input type="hidden" value="general" name="module"/>
                        <div class="col-sm-2"><button class="btn btn-primary m-b"  type="submit">保存</button></div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</block>